Step 1: Creating the User Interface (Microsoft Visual C++)

To return to the introduction, go to Creating a Microsoft Visual C++ sample application with the Embeddable Designer.

In this step, you will create a Dialog-based MFC.EXE application and add the components, and controls for the application.

  1. Using the AppWizard, create a starter Dialog-based MFC application. The main dialog will display reports in Embeddable Designer and the Crystal Report Viewer.
  2. Add the Embeddable Designer Control and the Crystal Report Viewer Control through the Components and Controls Gallery dialog box. The controls are in the Registered ActiveX Controls folder:
  3. Add the following controls from the Toolbox to IDD_EMBEDDABLE_DESIGNER_DIALOG (Embeddable Designer dialog):
  4. Set the properties for the Embeddable Designer dialog and its controls:

Note:    Either the Embeddable Designer or the Crystal Report Viewer will be hidden depending on wether the user is designing or previewing a report.

To continue with this procedure, go to Step 2: Adding member variables and member functions (Microsoft Visual C++).



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com